wp_get_attachment_image class

145

wp_get_attachment_image class -

<?php 
  // ADD CLASS on wp image function 
  echo wp_get_attachment_image( get_the_ID(), array('700', '600'), "", array( "class" => "img-responsive" ) );  
?>

Comments

Submit
0 Comments